package com.heqiang.entity.manager;


import com.alibaba.fastjson.annotation.JSONField;
import com.heqiang.utils.DateUtils;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin {

    public interface STATUS{
        Byte OPEN =  (byte) 10;//开启
        Byte CLOSE =  (byte) 20;//关闭
    }

    private Long id;//用户表

    private Long roleId;//角色id

    private String account;//账号

    private String password;//密码

    private String phone;//联系电话

    private Byte status;//状态

    @JSONField(format = DateUtils.formatStr_yyyyMMddHHmmss)
    private Date createTime;//创建时间

}